package com.zzl.bonds.ticket.dto.feign;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zzl.apidoc.annotation.ApidocModel;
import com.zzl.apidoc.annotation.ApidocModelProperty;
import com.zzl.general.common.utils.DoubleSerialize;
import lombok.Data;

/**
 * @author : spp
 * @date : 2021/12/2 14:31
 */
@ApidocModel
@Data
public class BwBankShowDto {

    @TableId(type = IdType.UUID)
    @ApidocModelProperty(description = "供应商开票授信额度id")
    private Integer id;

    @ApidocModelProperty(description = "机构名称")
    private String instinctyName;

    @ApidocModelProperty(description = "金融机构的 id")
    private Integer financeInstitutyId;

    @ApidocModelProperty(description = "银行给供应商的开票总额度")
    private String creditAllAmount;

    @JsonSerialize(using = DoubleSerialize.class)
    @ApidocModelProperty(description = "银行给集团的开票额度")
    private Double creditCoreGroupAllAmount;

}
